package org.mushroomdb.lock;

/**
 * @author Tomas
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface LockKeys {
    
    final static String LOCK_TABLE= "SYS_LOCK";
    final static String LOCK_OBJECT_TABLE= "SYS_LOCK_OBJECT";
    
    //LOCK_OBJECT_TABLE columns
    final static String LOCK_OBJECT_TABLE_ID="ID";
    final static String LOCK_OBJECT_TABLE_PAGE="PAGE";
    final static String LOCK_OBJECT_TABLE_OFFSET="OFFSET";
    final static String LOCK_OBJECT_TABLE_DELETE="DELETE";
    
    //LOCK_TABLE columns
    final static String LOCK_TABLE_ID="ID";
    final static String LOCK_TABLE_REG_ID="REGISTER_ID";
    final static String LOCK_TABLE_PAGE_ID="PAGE_ID";
    final static String LOCK_TABLE_TABLE_ID="TABLE_ID";
    final static String LOCK_TABLE_EXCLUSIVE="EXCLUSIVE";
    final static String LOCK_TABLE_USER="USER";
    final static String LOCK_TABLE_TYPE="TYPE";
    final static String LOCK_TABLE_DELETE="DELETE";
}
